package com.dbxt.entity;

import java.util.ArrayList;
import java.util.Date;
/**
 * 答辩记录实体
 * @author Naive
 * @date 2020年5月13日
 */
public class Record {
    private Integer rid;//记录id

    private Integer grade;//答辩最终成绩

    private String grouping;//分组
    
    private String status;//答辩状态

    private Date times;//答辩时间
    
    private Student student;//关联学生
    
    private ArrayList<ClerkRecord> clerkRecords;//关联书记员记录表
    
    private ArrayList<RecordTeacher> recordTeachers;//关联教师评分表

	public Record() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Record(Integer rid, Integer grade, String grouping, String status, Date times, Student student,
			ArrayList<ClerkRecord> clerkRecords, ArrayList<RecordTeacher> recordTeachers) {
		super();
		this.rid = rid;
		this.grade = grade;
		this.grouping = grouping;
		this.status = status;
		this.times = times;
		this.student = student;
		this.clerkRecords = clerkRecords;
		this.recordTeachers = recordTeachers;
	}
	public Integer getRid() {
		return rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public Integer getGrade() {
		return grade;
	}

	public void setGrade(Integer grade) {
		this.grade = grade;
	}

	public String getGrouping() {
		return grouping;
	}

	public void setGrouping(String grouping) {
		this.grouping = grouping;
	}

	public Date getTimes() {
		return times;
	}

	public void setTimes(Date times) {
		this.times = times;
	}

	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public ArrayList<ClerkRecord> getClerkRecords() {
		return clerkRecords;
	}

	public void setClerkRecords(ArrayList<ClerkRecord> clerkRecords) {
		this.clerkRecords = clerkRecords;
	}

	public ArrayList<RecordTeacher> getRecordTeachers() {
		return recordTeachers;
	}

	public void setRecordTeachers(ArrayList<RecordTeacher> recordTeachers) {
		this.recordTeachers = recordTeachers;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "Record [rid=" + rid + ", grade=" + grade + ", grouping=" + grouping + ", status=" + status + ", times="
				+ times + ", student=" + student + ", clerkRecords=" + clerkRecords + ", recordTeachers="
				+ recordTeachers + "]";
	}

}